﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecisionCircle.Platform
{
    public class Tool
    {
        public static double DoubleMod(double origin, double mod)
        {
            try
            {
                return origin - mod * (double)(int)(origin / mod);
            }
            catch { return 0; }
        }

    }
}
